<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/common/jsp/global.jsp"%>

<div class="wrapper-md">
    <div ng-controller="${simpleJavaName}LookCtrl">
        <form name="${simpleJavaName}Form" class="form-validation">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <i class="glyphicon glyphicon-book"></i>
                    <span class="h4">${jspCodeTitle}</span>
                </div>
                <div class="panel-body">

                    ${viewJspCode}

                        <div class="form-group align-center">
                            <bs:role controller="${domain}Controller" function="delete" >
                                <button type="button" class="btn btn-default" ng-delete="${simpleJavaName}({id:'${${simpleJavaName}.pkId}'})" ><fmt:message key="button.delete"/></button>
                            </bs:role>
                            <bs:role controller="${domain}Controller" function="edit" >
                                <button type="button" class="btn btn-default "  ui-sref="${simpleJavaName}Edit({id:'${${simpleJavaName}.pkId}'})"><span class="font-bold" ><fmt:message key="button.edit"/></span>  </button>
                            </bs:role>
                            <button type="button" class="btn btn-default" ng-return><fmt:message key="button.return"/></button>

                        </div>
                </div>
            </div>
        </form>
    </div>
</div>
